package com.cskaoyan._13import.one;

import com.cskaoyan._13import.another.Student ;
import com.cskaoyan._13import.another.Teacher ;
/**
 * @description:
 * @author: 景天
 * @date: 2023/2/7 14:40
 **/
/*
使用import进行导包
import 全限定类名;
 */
public class Demo {
    public static void main(String[] args) {
        //Student student = new Student();
        //
        //student.test();

        Student student = new Student();
        student.test();
        String s = "abc";

        // 这里使用的是one包下的Teacher
        Teacher teacher = new Teacher();

        // 想要使用another包下的Teacher
        Teacher teacher1 = new Teacher();
    }
}
// 'Teacher' is already defined in this compilation unit
//class Teacher{
//
//}